var vec = new Array (3)
vec = {1,2,3}